package com.ljd.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljd.common.to.SkuHasStockVo;
import com.ljd.common.utils.PageUtils;
import com.ljd.gulimall.ware.entity.WareSkuEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author ljd
 * @email 2381773911@qq.com
 * @date 2023-02-06 17:37:47
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void updateSku(Long id,Integer skuNum);

    List<SkuHasStockVo> getSkuHasStock(List<Long> skuIds);
}

